package com.xauto.pioneer.appuser.model;

import org.json.JSONObject;

/**
 * Created by Ellis.Li on 2017/5/12.
 */
public class ParkSpace extends BaseModel<ParkSpace> {

    /** 停车位ID*/
    public String parking_space_id;
    /** 停车位编号*/
    public String parking_space_no;
    /** 停车位名称*/
    public String parking_space_name;
    @Override
    public ParkSpace parse(JSONObject jsonObject) {
        if(jsonObject != null) {
            parking_space_id = jsonObject.optString("parking_space_id");
            parking_space_no = jsonObject.optString("parking_space_no");
            parking_space_name = jsonObject.optString("parking_space_name");
            return this;
        }
        return null;
    }
}
